package ${packageName}.dao.entity.${moduleName};

import ${packageName}.dao.entity.base.BaseEntity;
import javax.persistence.Column;
import javax.persistence.Table;

/**
 * 代码生成器自动生成
 * Date:${.now}
 * @author Roger
 */
@Table(name = "${tableName}")
public class ${entity_name} extends BaseEntity {

<#list beans as bean>
	<#if "fd_id"!="${bean.filedName}" && "fd_createDate" !="${bean.filedName}" && "fd_updateDate" !="${bean.filedName}">
    @Column(name = "${bean.filedName}")
	${bean.accessAuth} ${bean.type} ${bean.propertyName}; // ${bean.remarks}
	</#if>
</#list>
<#list beans as bean>
	<#if "fd_id"!="${bean.filedName}" && "fd_createDate" !="${bean.filedName}" && "fd_updateDate" !="${bean.filedName}">
	/**
	 * 	获取  ${bean.remarks}
	 * @return ${bean.propertyName}
	 */
	public ${bean.type} get${bean.propertyNameUP}(){
		return ${bean.propertyName};
	}

	/**
	 *  设置  ${bean.remarks}
	 * @param ${bean.propertyName}
	 */
	public void set${bean.propertyNameUP}(${bean.type} ${bean.propertyName}){
		this.${bean.propertyName} = ${bean.propertyName};
	}
	</#if>
</#list>
}